/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.mobiubiq.directory.service;

import java.util.Vector;
import org.mobiubiq.directory.client.object.AbstractObject;

/**
 *
 * @author Marnix Renne
 */
public interface DirectoryServiceDao {
    /**
     * 
     * @param object
     * @param title
     * @param description
     * 
     * @throws org.mobiubiq.directory.service.ServiceException
     */
    void setOrUpdateTitle(AbstractObject object, String title, String description) throws ServiceException;
    
    /**
     * 
     * @param object
     * @return
     * @throws org.mobiubiq.directory.service.NoServicesFoundException
     * @throws org.mobiubiq.directory.service.ServiceException
     */
    Vector findServices(AbstractObject object) throws NoServicesFoundException, ServiceException;
}
